package com.findFish.water.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.findFish.common.annotation.Excel;
import com.findFish.common.core.domain.BaseEntity;

/**
 * 水质监测数据对象 water_quality
 * 
 * @author admin
 * @date 2025-04-01
 */
public class WaterQuality extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 水质监测ID */
    private Long id;

    /** 水温 (℃) */
    @Excel(name = "水温 (℃)")
    private Long waterTemperature;

    /** pH值 */
    @Excel(name = "pH值")
    private Long phValue;

    /** 溶解氧 (mg/L) */
    @Excel(name = "溶解氧 (mg/L)")
    private Long dissolvedOxygen;

    /** 氨氮 (mg/L) */
    @Excel(name = "氨氮 (mg/L)")
    private Long ammoniaNitrogen;

    /** 监测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "监测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date monitorTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setWaterTemperature(Long waterTemperature) 
    {
        this.waterTemperature = waterTemperature;
    }

    public Long getWaterTemperature() 
    {
        return waterTemperature;
    }

    public void setPhValue(Long phValue) 
    {
        this.phValue = phValue;
    }

    public Long getPhValue() 
    {
        return phValue;
    }

    public void setDissolvedOxygen(Long dissolvedOxygen) 
    {
        this.dissolvedOxygen = dissolvedOxygen;
    }

    public Long getDissolvedOxygen() 
    {
        return dissolvedOxygen;
    }

    public void setAmmoniaNitrogen(Long ammoniaNitrogen) 
    {
        this.ammoniaNitrogen = ammoniaNitrogen;
    }

    public Long getAmmoniaNitrogen() 
    {
        return ammoniaNitrogen;
    }

    public void setMonitorTime(Date monitorTime) 
    {
        this.monitorTime = monitorTime;
    }

    public Date getMonitorTime() 
    {
        return monitorTime;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("waterTemperature", getWaterTemperature())
            .append("phValue", getPhValue())
            .append("dissolvedOxygen", getDissolvedOxygen())
            .append("ammoniaNitrogen", getAmmoniaNitrogen())
            .append("monitorTime", getMonitorTime())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .toString();
    }
}
